﻿namespace Sidvall.UI.Entities
{
    public class ChartItemData : BusinessBase
    {
        #region Public Members

        #region Values

        private ChartItemDataValueCollection _Values;
        public ChartItemDataValueCollection Values
        {
            get
            {
                if (_Values == null)
                    _Values = new ChartItemDataValueCollection();
                return _Values;
            }
        }

        #endregion

        #region GetValue

        public double? GetValue(Sidvall.Data.AggregationOperator aggregationOperator)
        {
            return this.Values.GetValue(aggregationOperator);
        }

        #endregion

        #endregion
        #region Constructors

        public ChartItemData()
        {
        }

        #endregion
    }
}